/**
 * @author lifei 动态属性用
 */
define(["app"
], function (app) {

    var deps = ["$timeout", "$http"];

    function directive ($timeout, $http) {

        return {
            restrict: "A",
            replace: false,
            scope: {
                fieldInfo: "@?",
                isMul: "@?"
            },
            template: function (tElement, tAttrs) {

                return "<input type='text' name='userName'  class='form-control'  class='form-control' />";
            },
            //'<input type="text" name="userName"  class="form-control"  class="form-control"   ng-model="ext.'+$scope.fieldInfo+'" />',

            link: function ($scope, element, attrs) {

            }
        };
    }

    directive.$inject = deps;
    app.lazy.directive("fcExtendProp", directive);
});